home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / gnu / gcctest / tests03.zoo / Makefile.hp < prev    next >
Makefile  |  1992-04-27  |  624b  |  32 lines

  1. #
  2. # Makefile for HP-UX hpa700 A.B8.05 E 9000/720 56914181
  3. #
  4. # Must say hpux has come a ways: still fails some of the string tests
  5. #
  6. SRC = tatof.c tbcopy.c tctype.c tprintf.c tqsort.c trandm.c trdwr.c \
  7. tscanf.c tsetjm.c tsignl.c tstdio.c tstring.c tstrl1.c \
  8. tstrl2.c ttime.c
  9.  
  10. .SUFFIXES: .ttp
  11.  
  12. .c.ttp:
  13.     $(CC) $(CFLAGS) -o $*.ttp $*.c
  14.  
  15. CC= cc
  16. CFLAGS = -Aa -g +ESlit -D_POSIX_SOURCE
  17.  
  18. ALL = $(SRC:.c=.ttp)
  19.  
  20. all : $(ALL)
  21.  
  22. clean:
  23.     rm -f *.o
  24.  
  25. realclean: clean
  26.     rm -f $(ALL) core report test
  27.  
  28. # writable strings needed for tstdio for sscanf() in sr_test()
  29.  
  30. tstdio.ttp: tstdio.c
  31.     $(CC) -Aa -g -D_POSIX_SOURCE -o tstdio.ttp tstdio.c
  32.